package com.example.todoapp.http;

public class TagCreateRequest {
    private String name;
    private String description;
    private String descriptions; // 添加以兼容文档中的拼写

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description != null ? description : descriptions;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDescriptions() {
        return descriptions;
    }

    public void setDescriptions(String descriptions) {
        this.descriptions = descriptions;
    }
}